package com.xian.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 测试日志框架的使用
 * 目前有3中实现slf4j日志框架
 * ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar
 * org/slf4j/slf4j-simple/1.7.25/slf4j-simple-1.7.25.jar
 * org/slf4j/slf4j-log4j12/1.7.21/slf4j-log4j12-1.7.21.jar
 *
 */
public class LogTest {
    private static final Logger logger = LoggerFactory.getLogger(LogTest.class);
    public static void main(String[] args) {


        logger.trace("我操，trace");

        logger.debug("恩。debug");

        logger.warn("哎呀，warn");

        logger.info("没问题，info");

        logger.error("大件事了，跑路，error");





    }
}
